<?php
    error_reporting(0);
    define('__ROOT__', dirname(dirname(__FILE__)));
    require_once(__ROOT__.'\config\config.php'); 
    require_once(__ROOT__.'\model\db.php');
    require_once(__ROOT__.'\model\bill.php');
    $bill = new Bill();
    $bills = $bill->update($_GET['id']);
    echo("<script>location.href = '".HOST."view/view_admin.php?action=succeed';</script>");
?>